import random
def gen_lottery_number():
    red_balls = [num for num in range(1, 34)]
    selected_balls = random.simple(red_ball, 6)
    selected_balls.sort()
    select_balls.append(random.randint)
def main()
    list1 = []
    i = 0
    for(i < 6){
        k = random(1-33)
        if k not in list1{
            i += 1
            list1.qppend(k)
        }
    }
    sort(list1)
    y = '|'
    list1.qppend(y)
    j = 0
    r = random(1-16)
    list1.append(r)
    print(list1)
    pass
if __name__ == '__main__'
print("生成一组双色球号：")
main()
